package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author QiuPeng
 * @since 2022-10-12
 */
@Getter
@Setter
  @TableName("k_detailed_order")
@ApiModel(value = "DetailedOrder对象", description = "")
public class DetailedOrder implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("订单详细信息id")
      @TableId(value = "id" ,type = IdType.ASSIGN_ID)
      private String id;

      @ApiModelProperty("订单id")
      private String orderId;

      @ApiModelProperty("付款的方式 0表示微信支付 1 表示其他")
      private String paymentMethod;

      @ApiModelProperty("下单日期")
      @TableField(fill = FieldFill.INSERT)
      private Date orderTime;

      @ApiModelProperty("付款的时间")
      @TableField(fill = FieldFill.INSERT)
      private Date paymentTime;

      @ApiModelProperty("发货时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date deliveryTime;

      @ApiModelProperty("订单备注")

      private String orderRemarks;

      @ApiModelProperty("商品id")
      private String goodsId;

      @ApiModelProperty("优惠")
      private Double discount;

      @ApiModelProperty("收件人id")
      private String receiverId;

      @ApiModelProperty("会员id")
      private String memberId;

}
